# -*- coding: utf-8 -*-

class widget(object):
	'''
	控件基类
	'''
	def axes_annotate_patching(self,target_axis):
		k=target_axis.patches

		for p in k:
			if p.__class__.__name__=='Wedge':
				continue
			target_axis.annotate(str(p.get_height()), (p.get_x()*1.005, p.get_height()*1.005))
			pass
		pass

	pass

